@extends('back.index')
@section('link')
    <link href="{{asset('css/back/read/news.css')}}" rel="stylesheet">
@endsection
@section('mian')
    <h2 class="sub-header power_mian">新增用户</h2>
    <div class="container ">
        <div class="row">
            <div class="col-md-8">
                <form class="form-horizontal" action="{{url('back/read/addreaduser')}}" method="post" enctype="multipart/form-data">
                    <div class="form-group">
                        <label for="inputPassword3" class="col-sm-2 control-label">用户昵称</label>
                        <div class="col-sm-10">
                            <input type="text" name="name" class="form-control" id="inputPassword3" placeholder="用户昵称">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputPassword3" class="col-sm-2 control-label">邮箱</label>
                        <div class="col-sm-10">
                            <input type="email" name="email" class="form-control" id="inputPassword3" placeholder="邮箱">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputPassword3" class="col-sm-2 control-label">手机号码</label>
                        <div class="col-sm-10">
                            <input type="text" name="tel" class="form-control" id="inputPassword3" placeholder="手机号码">
                        </div>
                        {{csrf_field()}}
                    </div>
                    <div class="form-group">
                        <label for="inputPassword3" class="col-sm-2 control-label">性别</label>
                        <div class="col-sm-10">
                            <div class="sex">
                            <label>男:<input type="radio" name="sex" value="1" id="inputPassword3"></label>&nbsp;&nbsp;
                            <label>女:<input type="radio" name="sex" value="2" id="inputPassword3"></label>&nbsp;&nbsp;
                            <label>保密:<input type="radio" name="sex" value="3" id="inputPassword3"></label>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputPassword3" class="col-sm-2 control-label">密码</label>
                        <div class="col-sm-10">
                            <input type="password" name="password" class="form-control" id="inputPassword3" placeholder="密码">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputPassword3" class="col-sm-2 control-label">确认密码</label>
                        <div class="col-sm-10">
                            <input type="password" name="password_confirmation" class="form-control" id="inputPassword3" placeholder="确认密码">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputPassword3" class="col-sm-2 control-label">上传头像</label>
                        <div class="col-sm-10">
                            <input type="file" name="pic" class="btn btn-default" >
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <input type="submit" class="btn btn-default" value="添加用户">
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
@endsection